<?php
/**
 * Flash messages helper
 *
 * @author Lukas Normantas
 */
class Areal_View_Helper_FlashMessenger
{
     /**
     * Retrieve the FlashMessenger action helper instance with the ability
     * to set the namespace for simplicity
     *
     * @param string $namespace
     * @return Zend_Controller_Action_Helper_FlashMessenger
     */
    public function flashMessenger($namespace = null)
    {
        // Retrieve instance
        $flashMessenger = Zend_Controller_Action_HelperBroker::getStaticHelper('FlashMessenger');

        // Set namespace to retrieve
        if ($namespace !== null) {
            $flashMessenger->setNamespace($namespace);
        }

        return $flashMessenger;
    }

 




}

